package com.ymttest.database.sqlwapper.godmch;

import com.ymt.database.SqlManager;
import com.ymttest.database.model.mch_info;
import com.ymttest.database.model.providerServiceType;
import com.ymttest.database.model.serviceProvider;
import com.ymttest.utils.EnvSetup;
import com.ymttest.utils.MapUtil;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/************************************************************************************
 * @Author : 吴文
 * @Date : 
 * @Copyright : 洋码头
 *godmach
 ************************************************************************************/
public class providerServiceTypeWapper {
	SqlManager manage;
	public providerServiceTypeWapper() {
		manage = new SqlManager("mysqlgodmchdb" + EnvSetup.getEnv());
		 
	}
	public  List<providerServiceType> selectByPrimaryKey(Integer providerId,Integer serviceType) throws InterruptedException {
	    Map map=new  HashMap();
	    map.put("providerId", providerId);
	    map.put("serviceType", serviceType);
		providerServiceType model=new providerServiceType();
		List<providerServiceType> list =  manage.getSelectResults("com.ymttest.database.mapping.godmch.providerServiceTypeMapper.selectByPrimaryKey",map);
	
		manage.commit();
		return list;
	}
	

	
	public static void min(String args[]) throws InterruptedException {
	
	}
}
